package com.jilujia.domain.blog.service;

import java.util.List;

import com.jilujia.domain.blog.Blog;
import com.jilujia.domain.blog.BlogCatalog;
import com.jilujia.domain.blog.BlogComment;
import com.jilujia.domain.region.Region;

/**
 * A service interface for retrieving hotels and bookings from a backing repository. Also supports the ability to cancel
 * a booking.
 */
public interface BlogService {
	Blog createNewBlog();

	BlogComment createNewBlogComment(Blog blog);

	List<BlogCatalog> findCatalogList(Long userId);

	Blog persistBlog(Blog blogVo, Long userId, boolean isDraft);

	Blog findBlog(Long blogId);

	List<Blog> findBlogList(Long userId);

	List<BlogComment> findBlogCommentList(Long blogId);

	BlogComment persistBlogComment(BlogComment blogCommentVo, Long userId);

	List<Blog> findTop10BlogsByRegion(Region region);

	List<Blog> findAllBlogList();
}
